package com.xh.bussiness.exam.service;



import com.xh.bussiness.exam.bean.dto.StudentPaperQuestionDifficultDto;
import com.xh.bussiness.exam.bean.request.StudentPaperAnswerDetailRequest;
import com.xh.bussiness.exam.model.StudentPaperAnswerDetail;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import java.util.List;

/**
 * <p>
 * 作业发布-学生任务-作答明细 服务类
 * </p>
 *
 * @author Pitt Cheung
 * @since 2021-07-28
 */
public interface IStudentPaperAnswerDetailService extends IBaseService<StudentPaperAnswerDetail> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryStudentPaperAnswerDetailPage(XhPage page, StudentPaperAnswerDetailRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryStudentPaperAnswerDetail(StudentPaperAnswerDetailRequest bean);

    List<StudentPaperAnswerDetail> queryByAnswerId(String answerId);

    void deleteByAnswerIdId(String answerId);

    List<StudentPaperQuestionDifficultDto> queryStudentPaperQuestionDifficult(String answerId);
}
